package cn.cqone.crm.controller;

import cn.cqone.crm.domain.Department;
import cn.cqone.crm.query.DepartmentQuery;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@ResponseBody
@RequestMapping("/dept")
@CrossOrigin
@RequiresPermissions("department:main")
public class DepartmentController extends BaseController<Department,Long,DepartmentQuery> {

}
